|
|
Chris Huff <chr### [at] maccom> wrote:
: Well, this *is* impossible without modifying the source
You should believe Ken... As always :)
Check this:
#macro assignLocal(Var)
#local Var
#end
#declare ABC=1;
#macro TestLocal()
#local ABC=2;
assignLocal(ABC) = 5;
#debug concat("Local 'ABC': ", str(ABC,0,0), "\n")
#end
TestLocal()
#debug concat("Global 'ABC': ", str(ABC,0,0), "\n")
: BTW, another problem with that assign() macro: it uses a semicolon,
: which will prevent you from using objects, textures, etc...
That solution I present above also solves the semicolon problem.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|